import http from './http';
// 获取用户数据
export const getUserInfoUrl = (loginname) => http.get('/user/' + loginname);

// 获取用户的收藏
export const getCollectionUrl = (loginname) => http.get('/topic_collect/' + loginname);

// 验证token
export const accesstoken = (param) => http.post('/accesstoken', param);
